package promotion

import (
	// "bp/cache"
	"bp/conf"
	"bp/db"

	"go.uber.org/zap"
)

type PromotionEntityServiceImp struct {
	dao  *db.PgDao
	slog *zap.SugaredLogger
	vars *conf.VarsSection
}

// NewPromotionEntityService initialization
func NewPromotionEntityService(
	pgdao *db.PgDao,
	slog *zap.SugaredLogger,
	vars *conf.VarsSection,
) *PromotionEntityServiceImp {
	return &PromotionEntityServiceImp{
		dao:  pgdao,
		slog: slog.With("module", "PromotionEntityService"),
		vars: vars,
	}
}

// PromotionOfferItemInfo 促销类优惠项目信息(试算+交易一样)
type PromotionOfferItemInfo struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
	Desc string `json:"desc"`
}
